package org.link.bean;

/**
 * 
 * project_name:springdemo2
 * package_name:org.link.bean
 * file_name:Order.java
 * @author Link
 * create_date:2015年11月13日 下午5:20:55
 * modified_date:
 * description:排序规则
 *
 */
public class Order {
	private String field;		//规则名称
	private String rule;		//排序规则(升序(asc) 降序(desc))
	
	public Order() {
		super();
	}

	public Order(String field, String rule) {
		super();
		this.field = field;
		this.rule = rule;
	}

	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}

	public String getRule() {
		return rule;
	}

	public void setRule(String rule) {
		this.rule = rule;
	}

	@Override
	public String toString() {
		return "Order [field=" + field + ", rule=" + rule + "]";
	}
}
